package com.icloud.system.api.feign;

import com.icloud.common.core.api.CommonResult;
import com.icloud.system.api.dto.SaveAdminOperationLogDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

@FeignClient(value = "icloud-system", contextId = "adminOperationLogFeignClient", path = "/internal/adminOperationLog")
public interface AdminOperationLogFeignClient {
    /**
     * 添加后台用户操作日志
     */
    @PostMapping(value = "/add")
    @ResponseBody
    CommonResult<Void> saveAdminOperationLog(@RequestBody SaveAdminOperationLogDto dto);
}
